Skip to content

Add the access_log extension#361

Open
andr-sokolov wants to merge 3 commits intoOPENGPDB_STABLEfrom
access_log
Open

Add the access_log extension#361
andr-sokolov wants to merge 3 commits intoOPENGPDB_STABLEfrom
access_log

Conversation

@andr-sokolov
Copy link
Contributor

When we need to reduce the used amount of disk space, we should drop some tables
or partitions. In this case, we need to find out tables or partitions which are
not read from. This extension logs when and which user initializes Seq Scan on
which partition or table. The log file name is pg_log/access.log.
Add a new hook - init_scan_hook which is called from InitScanRelation.

When we need to reduce the used amount of disk space, we should drop some tables
or partitions. In this case, we need to find out tables or partitions which are
not read from. This extension logs when and which user initializes Seq Scan on
which partition or table. The log file name is pg_log/access.log.
Add a new hook - init_scan_hook which is called from InitScanRelation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant